//订单接口
// host:'http://localhost:9898',
import axios from '@/utils/request'

//接口列表
// 汇总energyMonitoring/equipment"
export const selectEnergyList = '/api/ems/energyMonitoring/equipment'

export const selectEnergyListseven = '/api/ems/analysis/equipmentEnergyEfficiency'
// export const selectAirListseven = '/api/ems/analysis/equipmentEnergyEfficiency'
export const selectEnergySource = '/api/ems/analysis/equipmentEnergyEfficiency'
//api/shuziluansheng/MOM_GetDeviceData 
export const ProductData = '/mom/api/shuziluansheng/MOM_ProductData '

export const DeviceData = '/mom/api/shuziluansheng/MOM_GetDeviceData '

// 设备状态shuziluansheng/MOM_DeviceStatus 
export const DeviceStatus = '/mom/api/shuziluansheng/MOM_DeviceStatus  '



export function GetselectEnergyList(params) {
    return axios.post(selectEnergyList, params)
}
export function GetselectEnergyListseven(params) {
    return axios.post(selectEnergyListseven, params)
}
export function GetselectAirListseven(params) {
    return axios.post(selectAirListseven, params)
}

export function GetProductData(params) {
    return axios.post(ProductData, params)
}
export function GetLine(params) {
    return axios.post(selectEnergySource, params,{
		headers: {
		    'Content-Type': 'application/json'
		  }
	})
}

export function GetDeviceData(params) {
    return axios.post(DeviceData, params)
}
export function GetDeviceStatus(params) {
    return axios.post(DeviceStatus, params)
}